<template>
  <div class="register_container">
      <div class="register_box">
        <div class="register_form">
          <div class="form_header">
            <h2 id="form_title">
              <span>注册</span>
            </h2>
            <span class="form_account">
              <span >已有账号？</span>
              <router-link to="login"><span class="link">点此登录</span></router-link>
            </span>
          </div>
          <div>
            <RegisterForm></RegisterForm>
          </div>
        </div>
      </div>
  </div>
</template>

<script>
import RegisterForm from '../components/form/RegisterForm.vue'
export default {
  name:'Register',
  components:{RegisterForm},
}
</script>

<style lang="less" scoped>
.register_box{
  width: 500px;
  height: 520px;
  background-color: rgb(238, 243, 245);
  border-radius: 3px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  box-shadow: 10px 10px 5px #c2bfbf;
  
}
#form_title{
  display: inline-block;
  margin-top:0px ;
}
.form_header{
  margin-left:50px;
  margin-top: 50px;
  margin-right: 50px;
  width: 400px;
  height: 32px;
}
.form_account{
  position: relative;
  float: right;
  margin-top: 10px;
}
a{
  text-decoration: none;
  color: rgb(66, 117, 117);
}
</style>